.class Lcom/waiqin365/lightapp/product/dr;
.super Lcom/waiqin365/base/a/a;


# instance fields
.field b:Ljava/util/List;

.field final synthetic c:Lcom/waiqin365/lightapp/product/ProductSelectActivityNew;


# direct methods
.method public constructor <init>(Lcom/waiqin365/lightapp/product/ProductSelectActivityNew;Ljava/util/List;)V
    .locals 1

    iput-object p1, p0, Lcom/waiqin365/lightapp/product/dr;->c:Lcom/waiqin365/lightapp/product/ProductSelectActivityNew;

    invoke-static {p1}, Lcom/waiqin365/lightapp/product/ProductSelectActivityNew;->d(Lcom/waiqin365/lightapp/product/ProductSelectActivityNew;)Landroid/content/Context;

    move-result-object v0

    invoke-direct {p0, v0}, Lcom/waiqin365/base/a/a;-><init>(Landroid/content/Context;)V

    iput-object p2, p0, Lcom/waiqin365/lightapp/product/dr;->b:Ljava/util/List;

    return-void
.end method


# virtual methods
.method public a(ILandroid/view/View;Landroid/view/ViewGroup;Lcom/waiqin365/base/a/b;)Landroid/view/View;
    .locals 3

    const v0, 0x7f0c034e

    invoke-virtual {p4, p2, v0}, Lcom/waiqin365/base/a/b;->a(Landroid/view/View;I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    const v1, 0x7f0c0214

    invoke-virtual {p4, p2, v1}, Lcom/waiqin365/base/a/b;->a(Landroid/view/View;I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/ImageView;

    iget-object v2, p0, Lcom/waiqin365/lightapp/product/dr;->b:Ljava/util/List;

    invoke-interface {v2, p1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v2

    invoke-virtual {v0, v2}, Landroid/widget/TextView;->setTag(Ljava/lang/Object;)V

    iget-object v2, p0, Lcom/waiqin365/lightapp/product/dr;->b:Ljava/util/List;

    invoke-interface {v2, p1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Lcom/waiqin365/base/c/a;

    iget-object v2, v2, Lcom/waiqin365/base/c/a;->b:Ljava/lang/String;

    invoke-virtual {v0, v2}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/dr;->b:Ljava/util/List;

    invoke-interface {v0, p1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/base/c/a;

    invoke-virtual {v0}, Lcom/waiqin365/base/c/a;->k_()Z

    move-result v0

    if-eqz v0, :cond_0

    const/4 v0, 0x0

    invoke-virtual {v1, v0}, Landroid/widget/ImageView;->setVisibility(I)V

    :goto_0
    return-object p2

    :cond_0
    const/16 v0, 0x8

    invoke-virtual {v1, v0}, Landroid/widget/ImageView;->setVisibility(I)V

    goto :goto_0
.end method

.method public a(I)Lcom/waiqin365/base/c/a;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/dr;->b:Ljava/util/List;

    invoke-interface {v0, p1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/base/c/a;

    return-object v0
.end method

.method public b()I
    .locals 1

    const v0, 0x7f0301bb

    return v0
.end method

.method public getCount()I
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/dr;->b:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    return v0
.end method

.method public synthetic getItem(I)Ljava/lang/Object;
    .locals 1

    invoke-virtual {p0, p1}, Lcom/waiqin365/lightapp/product/dr;->a(I)Lcom/waiqin365/base/c/a;

    move-result-object v0

    return-object v0
.end method

.method public getItemId(I)J
    .locals 2

    int-to-long v0, p1

    return-wide v0
.end method
